<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>

<title><fmt:message key="roleDetail.title"/></title>
<content tag="heading"><fmt:message key="roleDetail.heading"/></content>

<table width="100%" height="76" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="left" valign="top" >
	  
         
			<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
			  <tr>
				<td height="25" bgcolor="#5F9CD4" class="font01">&nbsp;&nbsp;&nbsp;&nbsp;系统&gt;&gt; 用户权限&gt;&gt;角色信息</td>
			  </tr>
			  <tr>
				<td height="8"></td>
			  </tr>
			</table>
		 
			 <html:form action="saveRole" method="post" styleId="roleForm" onsubmit="return validateRoleForm(this)"> 
			 
			 <html:hidden property="id"/>
			  <!--- BEGIN--->
			  <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#CDCDCD">
				<tr>
				  <td height="27" background="img/m-bt-bg01.gif" bgcolor="#FFFFFF" style="background-repeat:no-repeat;background-position:right">
						<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
							  <td width="2%"><img src="img/dian-1.gif" width="6" height="6" /></td>
							  <td width="48%" class="btn02">角色信息</td>
							  <td width="50%">&nbsp;</td>
							</tr>
				    </table>
				  </td>
				</tr>
				<tr>
				  <td bgcolor="#F8F8F8">
					    <table width="100%" border="1" cellspacing="0" cellpadding="1" bordercolor="ffffff" bordercolordark="#ffffff" bordercolorlight="B9B9B9">
							<tr align="center">
							  <td width="20%" height="28" bgcolor="#EFEFEF"><carsite:label styleClass="desc" key="roleForm.name"/></td>
							  <td width="30%" height="28" align="left">
							  <html:errors property="name"/>
						        <html:text property="name" styleId="name" styleClass="text medium"/>
							  </td>
							   <td width="20%" height="28"bgcolor="#EFEFEF"> <carsite:label styleClass="desc" key="roleForm.cnName"/></td>
							  <td width="30%" height="28" align="left">
							    <html:errors property="cnName"/>
							    <html:text property="cnName" styleId="cnName" styleClass="text medium"/>
                              </td>
							</tr>
										
						    <tr>
						      <td align="center" bgcolor="EFEFEF"><carsite:label styleClass="desc" key="roleForm.description"/></td>
						      <td  colspan="3">
						         <html:errors property="description"/>
						         <html:textarea property="description" styleId="description" cols="50" rows="5"/>
						       </td>
						    </tr>
    
					   </table>			  
						<table  width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="ffffff" bordercolorlight="B9B9B9" bordercolordark="#ffffff">
						  <tr bgcolor="#99CCCC" >
							<td width="25%" height="28" align="center"  bgcolor="#EFEFEF">&nbsp; </td>
							<td width="34%" height="28" align="center" nowrap  bgcolor="#EFEFEF">
							  	
							  	
							  	    <html:submit  property="method.save" onclick="bCancel=false">
							            <fmt:message key="button.save"/>
							        </html:submit>
							
							        <html:submit property="method.delete" onclick="bCancel=true; return confirmDelete('Role')">
							            <fmt:message key="button.delete"/>
							        </html:submit>
							
							        <html:cancel onclick="bCancel=true">
							            <fmt:message key="button.cancel"/>
							        </html:cancel>
        
								    
                           
						          </td> 
							<td width="41%" height="28"   bgcolor="#EFEFEF" >&nbsp;</td>
						  </tr>
					</table>
				  
				  </td>
				</tr>
			  </table>
			  
			 <!---END--->
	  
	  
              </html:form>
			  <table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
				  <td>&nbsp;</td>
				</tr>
			  </table>
      
    
	</td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="5"></td>
  </tr>
</table>
